package com.zhl.dao_;

import com.zhl.entity.Article;
import com.zhl.entity.Function;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Administrator on 2018/10/12.
 */
@Mapper
public interface FunctionMapper {

    //添加权限
    int addFunction(Function function);
    List<Function> functionList();
    Function queryFunctionById(@Param("id")String id);
    int deleteFunction(@Param("id")String id);
    int updateFunction(Function function);

}
